// Main Unonet game engine

#include "DGameEngine.h"
#include "DDefines.h"

DGameEngine g_Game; // framework object is global

int main()
{
    if( !g_Game.Init(L"UNONET !") ) {
		ICEDBGMSG("APP IS CRUSH!!"); //people uneasy, Kompressor make you queazy
		return 0;
	}	

	if( strcmp(g_Game.getCurrStateName(), "") == 0 )
		g_Game.RequestStateChange("GS_MENU"); 

	while(g_Game.Update()) {} 

	return 0;
}
